<%@ include file="common/taglibs.jsp"%>
<html>
    <head>
        <title>${producto.getNombre()}</title>
    </head>
    <body style="margin:1px;padding:0;">
        <div id="container" style="border-style: dashed;border-color: #CCCCCC; border-width: thin;text-align: center;">
            <img id="image" src="${producto.getRutaImagen()}" alt="" title="" border="0" style="margin:4px;" />
        </div>
        <script language="javascript" type="text/javascript">
            container.style.width=image.width+4;
            container.style.height=image.height+4;
            window.setInterval(resizeMe, 100)

            function resizeMe()
            {
                if(document.readyState=='complete')
                {
                    window.resizeTo(image.width+25, image.height+50)
                }
            }
        </script>
    </body>
</html>